package com.books.entity;

import java.util.Date;

public class Books {
    private Integer id;
    private String name;
    private Integer num;
    private String introduce;
    private Date add_date;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public Date getAdd_date() {
        return add_date;
    }

    public void setAdd_date(Date add_date) {
        this.add_date = add_date;
    }

    public Books() {
    }

    public Books(Integer id, String name, Integer num, String introduce, Date add_date) {
        this.id = id;
        this.name = name;
        this.num = num;
        this.introduce = introduce;
        this.add_date = add_date;
    }

    @Override
    public String toString() {
        return "Books{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", num=" + num +
                ", introduce='" + introduce + '\'' +
                ", add_date=" + add_date +
                '}';
    }
}
